package com.zzyl.nursing.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.common.annotation.Excel;
import com.zzyl.nursing.domain.CheckInConfig;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author yhn
 * @version 1.0
 * @description
 * @date 2025/10/18 12:05
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class CheckInConfigVo extends CheckInConfig {
    /**
     * 入住开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    @Excel(name = "入住开始时间" , width = 30, dateFormat = "yyyy-MM-dd" )
    private LocalDateTime startDate;

    /**
     * 入住结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    @Excel(name = "入住结束时间" , width = 30, dateFormat = "yyyy-MM-dd" )
    private LocalDateTime endDate;

    /**
     * 入住床位
     */
    @Excel(name = "入住床位" )
    private String bedNumber;

}
